#include <windows.h>
#include "exporterutilitydesc.h"

//
// Dll interface
//
BOOL WINAPI DllMain (HMODULE hInstance, ULONG ulReasion, LPVOID lpvReserved)
{
    ExporterUtilityDesc::TheInstance ()->m_Instance = hInstance;

    return TRUE;
}


__declspec (dllexport)
const TCHAR *LibDescription ()
{
    return _T("Generic Exporter");
}


__declspec (dllexport)
ULONG LibVersion ()
{
    return VERSION_3DSMAX;
}


__declspec (dllexport)
int LibNumberClasses ()
{
    return 1;
}


__declspec (dllexport)
ClassDesc *LibClassDesc (int i)
{
    switch (i) {
    case 0:
        return ExporterUtilityDesc::TheInstance ();
    default:
        return 0;
    }
}

